# -*- encoding:utf-8 -*-
# !/usr/bin/env python
'''
    python-0811-04.py
    ======================
    @descript: 排序
    @copyright:nnz
    @author:dln
    @date: 2021/8/11 17:46
    @version:v1.0
'''
v_list=[1,5,8,6,7]
v_restult=sorted(v_list)
print(v_restult)
class A:
    def __init__(self,p1,p2):
        self.v_01=p1
        self.v_02=p2
    pass
    def __str__(self):
        return 'v_01={},v_02={}'.format(self.v_01,self.v_02)
    def __repr__(self):
        return 'v_01={},v_02={}'.format(self.v_01,self.v_02)
v_object=A(2,3)
v_object01=A(4,5)
v_list01=[A(1,2),A(3,4),A(5,6)]
print(v_list01)